<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String context = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="<%=context%>/js/jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="<%=context%>/js/process/process.js"></script>
<title>流程管理</title>
<script type="text/javascript">
$(document).ready(function(){
	var ps = new Process();
	$("#start").on("click",ps.selectStart);
	$("#end").on("click",ps.selectEnd);
	$("#node").on("click",ps.selectNode);
	$("#line").on("click",ps.selectLine);
	$("#select").on("click",ps.select);
	$("#work").on("click",ps.addNode);
});
</script>
</head>
<body>
<div style="width:500px;height:100px;background-color: red;" id="tool" >
<img src="<%=context%>/image/start.jpg" title="开始" id="start">
<img src="<%=context%>/image/end.jpg" title="结束" id="end">
<img src="<%=context%>/image/node.jpg" title="环节" id="node">
<img src="<%=context%>/image/line.png" title="连线" id="line">
<img src="<%=context%>/image/select.jpg" title="选择" id="select">
</div>

<div style="width:500px;height:200px;background-color: #fcedb3;" id="work">

</div>
</body>
</html>